package com.neusoft.cloudstreamfeign.feign;

import com.neusoft.cloudstreamfeign.dto.DeliveryProcess;
import com.neusoft.cloudstreamfeign.dto.Result;
import com.neusoft.cloudstreamfeign.dto.RouteInfo;
import com.neusoft.cloudstreamfeign.dto.RouteProcess;
import com.neusoft.cloudstreamfeign.param.DeliverInfoCreatOrUpdateParam;
import com.neusoft.cloudstreamfeign.param.DeliverInfoDeleteParam;

public class DeliveryServiceFallback implements DeliveryServiceClient {


    @Override
    public Result list(Integer pageNum, Integer pageSize) {
        return Result.error("获取配送信息列表失败");
    }

    @Override
    public Result create(DeliverInfoCreatOrUpdateParam deliveryInfo) {
        return Result.error("创建配送信息失败");
    }

    @Override
    public Result update(DeliverInfoCreatOrUpdateParam deliveryInfo) {
        return Result.error("更新配送信息失败");
    }

    @Override
    public Result delete(DeliverInfoDeleteParam deliverInfoDeleteParam) {
        return Result.error("删除配送信息失败");
    }

    @Override
    public Result listByStatus(Integer status, Integer pageNum, Integer pageSize) {
        return Result.error("获取配送信息列表失败");
    }

    @Override
    public Result getByOrderNumber(String orderNumber) {
        return Result.error("获取配送信息失败");
    }

    @Override
    public Result list1(Integer pageNum, Integer pageSize, Long deliveryId) {
        return Result.error("获取配送过程列表失败");
    }

    @Override
    public Result create1(DeliveryProcess deliveryProcess) {
        return Result.error("创建配送过程失败");
    }

    @Override
    public Result update1(DeliveryProcess deliveryProcess) {
        return Result.error("更新配送过程失败");
    }

    @Override
    public Result delete1(DeliveryProcess deliveryProcess) {
        return Result.error("删除配送过程失败");
    }

    @Override
    public Result list2(Integer pageNum, Integer pageSize, String routeCode) {
        return Result.error("查询配送路线失败");
    }

    @Override
    public Result create2(RouteInfo routeInfo) {
        return Result.error("创建配送路线失败");
    }

    @Override
    public Result update2(RouteInfo routeInfo) {

        return Result.error("更新配送路线失败");
    }

    @Override
    public Result delete2(RouteInfo routeInfo) {
        return Result.error("删除配送路线失败");
    }

    @Override
    public Result list3(Integer pageNum, Integer pageSize, Long deliveryId, Long routeId) {
        return null;
    }

    @Override
    public Result create3(RouteProcess routeProcess) {
        return null;
    }

    @Override
    public Result update3(RouteProcess routeProcess) {
        return null;
    }

    @Override
    public Result delete3(RouteProcess routeProcess) {
        return null;
    }
}
